<div class="clear"></div>

<div class="container_16" id="bottomdiv">
  <div class="grid_5">版权所有&copy;2013中山军安科技有限公司 </div>
  <div class="push_6 grid_5" style="text-align:right;">站长统计代码[<?php wp_loginout(); ?>]</div>
</div>

<div class="clear"></div>
</body>
</html>
<script type="text/javascript">	
	var date2=new Date(2006,6,24,12,12,34);    //开始时间
	var date1=new Date();  //结束时间
	var date3=parseFloat(date1.getTime())-parseFloat(date2.getTime());  //时间差的毫秒数
	//计算出相差天数
	var Dateleft=Math.floor(date3/(24*3600*1000));
	//计算出小时数
	var leave1=date3%(24*3600*1000);  //计算天数后剩余的毫秒数
	var Hourleft=Math.floor(leave1/(3600*1000));
	//计算相差分钟数
	var leave2=leave1%(3600*1000);       //计算小时数后剩余的毫秒数
	var Minuteleft=Math.floor(leave2/(60*1000));
	//计算相差秒数
	var leave3=leave2%(60*1000);    //计算分钟数后剩余的毫秒数
	var Secondleft=Math.round(leave3/1000);
		document.getElementById("showDay").innerHTML=addZero(Dateleft);
		document.getElementById("showHour").innerHTML=addZero(Hourleft);
		document.getElementById("showMinute").innerHTML=addZero(Minuteleft);
		document.getElementById("showSecond").innerHTML=addZero(Secondleft);
	showtime();

function showtime() {
	
	Dateleft=parseInt(document.getElementById("showDay").innerHTML,10);
	Hourleft=parseInt(document.getElementById("showHour").innerHTML,10);
	Minuteleft=parseInt(document.getElementById("showMinute").innerHTML,10);
	Secondleft=parseInt(document.getElementById("showSecond").innerHTML,10);
		
	Secondleft=Secondleft+1;
    if (Secondleft > 59) {
        Secondleft = 0;
        Minuteleft = Minuteleft + 1;
    }
    if (Minuteleft > 59) {
        Minuteleft = 0;
        Hourleft = Hourleft + 1;
    }
    if (Hourleft > 23) {
        Hourleft = 0;
        Dateleft = Dateleft + 1;
    }
		document.getElementById("showDay").innerHTML=addZero(Dateleft)+"天";
		document.getElementById("showHour").innerHTML=addZero(Hourleft)+"时";
		document.getElementById("showMinute").innerHTML=addZero(Minuteleft)+"分";
		document.getElementById("showSecond").innerHTML=addZero(Secondleft)+"秒";
    timerID = setTimeout("showtime()", 1000);
}

function addZero(n){
	n=parseInt(n,10);
	if(n<10){
		return '0'+n;	
	}
	return n;
}

$(function(){
	$('.jd_menu').jdMenu();
	$("#news_tab").KandyTabs();
	$("#KinSlideshow").KinSlideshow({
					moveStyle:"down", 		//设置切换方向为向下 [默认向左切换]
					intervalTime:8,   		//设置间隔时间为8秒  [默认为5秒]
					mouseEvent:"mouseover",		//设置鼠标事件为"鼠标滑过切换"  [默认鼠标点击时切换]
					titleFont:{TitleFont_size:14,TitleFont_color:"#FFFFFF"} //设置标题文字大小为14px，颜色：#FF0000
			});
	$("#KinSlideshow2").KinSlideshow({
					moveStyle:"down", 		//设置切换方向为向下 [默认向左切换]
					intervalTime:5,   		//设置间隔时间为8秒  [默认为5秒]
					mouseEvent:"mouseover",		//设置鼠标事件为"鼠标滑过切换"  [默认鼠标点击时切换]
					titleFont:{TitleFont_size:14,TitleFont_color:"#FFFFFF"} //设置标题文字大小为14px，颜色：#FF0000
			});
	$('#KinSlideshow2 a').fancybox({
		openEffect  : 'none',
		closeEffect : 'none',
		helpers : {
			media : {}
		}
	});
	var proportion_1 = new ImageFlow();
	proportion_1.init({ ImageFlowID: 'myImageFlow1', aspectRatio: 3.333, startID: 6 ,imagesHeight: 0.62,slider: false,slideshow: true,slideshowAutoplay: true,slideshowSpeed:5000});//slider: false, reflectionP: 0.0,captions: false
});
</script>